/* 封装一个指令tabset */
class runnerList{
    constructor(){

        this.restrict   = 'AE';
        this.template   = '<ul ng-transclude></ul>';
        this.replace    = true;
        this.transclude = true;

    }

    controller() {
        var items = [];
        this.gotOpened = (selectedItem) => {
            // angular.forEach(items, (item) => {
            //     if (selectedItem != item) {
            //         item.active = false;
            //     }
            // });
        }
        this.addItem = (item) => {
            items.push(item);
        }
    }
}

export default runnerList;